import java.util.ArrayList;


public class TileList extends ArrayList<Coord> {
	
	BoxList tileConversion;
	
	public BoxList convertToBoxes(){
		tileConversion=new BoxList();
		Box box;
		Coord coord;
		
		for(int i=0;i<this.size();i++){
			coord=new Coord(this.get(i).x,this.get(i).y);
			box=new Box(coord);
			tileConversion.add(box);
		}
		
		return tileConversion;
	}
	
	
	
	
}
